﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage_Main : System.Web.UI.MasterPage
{
    public SiteMapMenus MenuToLoad
    {
        get { return MenuSiteMap.MenuToLoad; }
        set
        {
            MenuSiteMap.MenuToLoad = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {

        }
        if (MenuSiteMap.MenuToLoad == SiteMapMenus.NotSet)
            menutr.Visible = false;
        else
            menutr.Visible = true;
    }
}
